<m-api-data-table [dataSource]="data">
	<ng-container mDataTableColumn header="区域数量">
		<ng-template let-area_count="area_count">
			<td>{{ area_count}} </td>
		</ng-template>
	</ng-container>
	<ng-container mDataTableColumn header="姓名">
		<ng-template let-full_name="full_name">
			<td>{{ full_name }} </td>
		</ng-template>
	</ng-container>
	<ng-container mDataTableColumn header="工号">
		<ng-template let-job_number="job_number">
			<td>{{ job_number }} </td>
		</ng-template>
	</ng-container>
	<ng-container mDataTableColumn header="备注">
		<ng-template let-remark="remark">
			<td>{{ remark }} </td>
		</ng-template>
	</ng-container>
	<ng-container mDataTableColumn header="状态">
		<ng-template let-status="status">
			<td>
				<m-enable-status-text [status]="status"></m-enable-status-text>
			</td>
		</ng-template>
	</ng-container>
	<ng-container mDataTableColumn header="在线">
		<ng-template let-online="online">
			<td>
				<m-online-status-text [status]="online"></m-online-status-text>
			</td>
		</ng-template>
	</ng-container>
	<ng-container mDataTableColumn header="发送状态">
		<ng-template let-reply="reply">
			<td>{{ reply?.status | messageStatus}} </td>
		</ng-template>
	</ng-container>
	<ng-container mDataTableColumn header="发送时间">
		<ng-template let-reply="reply">
			<td>
				<a *ngIf='reply?.status == "finish"'>{{ reply?.updated_at | date:'yyyy/MM/dd HH:mm:ss'}} </a>
			</td>
		</ng-template>
	</ng-container>
</m-api-data-table>